
#ifndef _HOOKFILE_H_
#define _HOOKFILE_H_
#include "lclog.h"
#include "memfun.h"
#include <windows.h>
#include <deftype.h>
extern BOOL
(WINAPI
 * RealReadFile)(
 HANDLE hFile,
 LPVOID lpBuffer,
 DWORD nNumberOfBytesToRead,
 LPDWORD lpNumberOfBytesRead,
 LPOVERLAPPED lpOverlapped
 );
BOOL
WINAPI
lcReadFile(
		   HANDLE hFile,
		   LPVOID lpBuffer,
		   DWORD nNumberOfBytesToRead,
		   LPDWORD lpNumberOfBytesRead,
		   LPOVERLAPPED lpOverlapped
		   );
#endif
int HookAndRetDeleteFile();
int HookCreatefile();